package cate.game.role.res.holy_pet.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBHolyPet;

/**
 * 灵宠-查看机缘日志 请求
 *
 * @author ShenSL
 * @since 2023/9/6 17:52
 */
@ClientMsg(title = "灵宠-查看机缘日志 请求")
public class HolyPetViewAdventureLogsReq implements MsgInput {

    @Override
    public MsgConfig conf() {
        return MsgIdBHolyPet.VIEW_ADVENTURE_LOGS_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().sendNow(new HolyPetViewAdventureLogsResp(cc.getRole().getRes().holyPet.adventureLogs));
    }
}
